package com.zhiche.lisa.bms.dao.model.fee;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 应付账款中间表
 * </p>
 *
 * @author linbao
 * @since 2019-01-23
 */
@TableName("lisa_fee_payable_temp")
public class FeePayableTemp extends Model<FeePayableTemp> {

    private static final long serialVersionUID = 1L;

	@TableId(value="id", type= IdType.AUTO)
	private Long id;
    /**
     * 客户订单号
     */
	@TableField("cus_order_no")
	private String cusOrderNo;
    /**
     * 客户运单号
     */
	@TableField("cus_waybill")
	private String cusWaybill;
    /**
     * 目的地
     */
	@TableField("dest_addr")
	private String destAddr;
    /**
     * 目的市
     */
	@TableField("dest_city")
	private String destCity;
    /**
     * 目的编码
     */
	@TableField("dest_code")
	private String destCode;
    /**
     * 目的区
     */
	@TableField("dest_County")
	private String destCounty;
    /**
     * 目的省
     */
	@TableField("dest_province")
	private String destProvince;
	@TableField("driver_gid")
	private String driverGid;
    /**
     * 司机名称
     */
	@TableField("driver_name")
	private String driverName;
    /**
     * 事件类型; 已入库：BS_WMS_IN, 已发运：BS_OP_DELIVERY, 已运抵：BS_TRANS_ARRIVED, 已寻车：OR_FIND, 在途：BS_ENROUTED, 绑码：BINDING_CODE, 异常：ABNORMAL
     */
	@TableField("event_type")
	private String eventType;
	@TableField("export_key")
	private String exportKey;
    /**
     * 车队id
     */
	@TableField("fleet_id")
	private Long fleetId;
    /**
     * 车队名称
     */
	@TableField("fleet_name")
	private String fleetName;
    /**
     * 事件发生时间(必须)
     */
	@TableField("occur_date")
	private String occurDate;
    /**
     * 运输订单号
     */
	@TableField("order_release_id")
	private String orderReleaseId;
    /**
     * 起运地
     */
	@TableField("origin_addr")
	private String originAddr;
    /**
     * 起运市
     */
	@TableField("origin_city")
	private String originCity;
    /**
     * 起运编码
     */
	@TableField("origin_code")
	private String originCode;
    /**
     * 起运区
     */
	@TableField("origin_county")
	private String originCounty;
    /**
     * 起运省
     */
	@TableField("origin_province")
	private String originProvince;
    /**
     * 车牌
     */
	@TableField("plate_no")
	private String plateNo;
	@TableField("provider_gid")
	private String providerGid;
	@TableField("provider_name")
	private String providerName;
    /**
     * 事件接收时间(必须)
     */
	@TableField("recd_date")
	private String recdDate;
    /**
     * 运单号
     */
	@TableField("ship_code")
	private String shipCode;
    /**
     * 发运时间
     */
	@TableField("ship_time")
	private Date shipTime;
    /**
     * 指令号
     */
	@TableField("shipment_id")
	private String shipmentId;
    /**
     * 发生事件的站点序号
     */
	private Integer sort;
	@TableField("trailer_no")
	private String trailerNo;
    /**
     * 运输方式id
     */
	@TableField("trans_type_id")
	private Long transTypeId;
    /**
     * 车型
     */
	@TableField("vehicle_name")
	private String vehicleName;
    /**
     * 车架号
     */
	private String vin;
	/**
	 * 状态; 0-正常, 1-失败
	 */
	private Integer status;


	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getCusOrderNo() {
		return cusOrderNo;
	}

	public void setCusOrderNo(String cusOrderNo) {
		this.cusOrderNo = cusOrderNo;
	}

	public String getCusWaybill() {
		return cusWaybill;
	}

	public void setCusWaybill(String cusWaybill) {
		this.cusWaybill = cusWaybill;
	}

	public String getDestAddr() {
		return destAddr;
	}

	public void setDestAddr(String destAddr) {
		this.destAddr = destAddr;
	}

	public String getDestCity() {
		return destCity;
	}

	public void setDestCity(String destCity) {
		this.destCity = destCity;
	}

	public String getDestCode() {
		return destCode;
	}

	public void setDestCode(String destCode) {
		this.destCode = destCode;
	}

	public String getDestCounty() {
		return destCounty;
	}

	public void setDestCounty(String destCounty) {
		this.destCounty = destCounty;
	}

	public String getDestProvince() {
		return destProvince;
	}

	public void setDestProvince(String destProvince) {
		this.destProvince = destProvince;
	}

	public String getDriverGid() {
		return driverGid;
	}

	public void setDriverGid(String driverGid) {
		this.driverGid = driverGid;
	}

	public String getDriverName() {
		return driverName;
	}

	public void setDriverName(String driverName) {
		this.driverName = driverName;
	}

	public String getEventType() {
		return eventType;
	}

	public void setEventType(String eventType) {
		this.eventType = eventType;
	}

	public String getExportKey() {
		return exportKey;
	}

	public void setExportKey(String exportKey) {
		this.exportKey = exportKey;
	}

	public Long getFleetId() {
		return fleetId;
	}

	public void setFleetId(Long fleetId) {
		this.fleetId = fleetId;
	}

	public String getFleetName() {
		return fleetName;
	}

	public void setFleetName(String fleetName) {
		this.fleetName = fleetName;
	}

	public String getOccurDate() {
		return occurDate;
	}

	public void setOccurDate(String occurDate) {
		this.occurDate = occurDate;
	}

	public String getOrderReleaseId() {
		return orderReleaseId;
	}

	public void setOrderReleaseId(String orderReleaseId) {
		this.orderReleaseId = orderReleaseId;
	}

	public String getOriginAddr() {
		return originAddr;
	}

	public void setOriginAddr(String originAddr) {
		this.originAddr = originAddr;
	}

	public String getOriginCity() {
		return originCity;
	}

	public void setOriginCity(String originCity) {
		this.originCity = originCity;
	}

	public String getOriginCode() {
		return originCode;
	}

	public void setOriginCode(String originCode) {
		this.originCode = originCode;
	}

	public String getOriginCounty() {
		return originCounty;
	}

	public void setOriginCounty(String originCounty) {
		this.originCounty = originCounty;
	}

	public String getOriginProvince() {
		return originProvince;
	}

	public void setOriginProvince(String originProvince) {
		this.originProvince = originProvince;
	}

	public String getPlateNo() {
		return plateNo;
	}

	public void setPlateNo(String plateNo) {
		this.plateNo = plateNo;
	}

	public String getProviderGid() {
		return providerGid;
	}

	public void setProviderGid(String providerGid) {
		this.providerGid = providerGid;
	}

	public String getProviderName() {
		return providerName;
	}

	public void setProviderName(String providerName) {
		this.providerName = providerName;
	}

	public String getRecdDate() {
		return recdDate;
	}

	public void setRecdDate(String recdDate) {
		this.recdDate = recdDate;
	}

	public String getShipCode() {
		return shipCode;
	}

	public void setShipCode(String shipCode) {
		this.shipCode = shipCode;
	}

	public Date getShipTime() {
		return shipTime;
	}

	public void setShipTime(Date shipTime) {
		this.shipTime = shipTime;
	}

	public String getShipmentId() {
		return shipmentId;
	}

	public void setShipmentId(String shipmentId) {
		this.shipmentId = shipmentId;
	}

	public Integer getSort() {
		return sort;
	}

	public void setSort(Integer sort) {
		this.sort = sort;
	}

	public String getTrailerNo() {
		return trailerNo;
	}

	public void setTrailerNo(String trailerNo) {
		this.trailerNo = trailerNo;
	}

	public Long getTransTypeId() {
		return transTypeId;
	}

	public void setTransTypeId(Long transTypeId) {
		this.transTypeId = transTypeId;
	}

	public String getVehicleName() {
		return vehicleName;
	}

	public void setVehicleName(String vehicleName) {
		this.vehicleName = vehicleName;
	}

	public String getVin() {
		return vin;
	}

	public void setVin(String vin) {
		this.vin = vin;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "FeePayableTemp{" +
			", id=" + id +
			", cusOrderNo=" + cusOrderNo +
			", cusWaybill=" + cusWaybill +
			", destAddr=" + destAddr +
			", destCity=" + destCity +
			", destCode=" + destCode +
			", destCounty=" + destCounty +
			", destProvince=" + destProvince +
			", driverGid=" + driverGid +
			", driverName=" + driverName +
			", eventType=" + eventType +
			", exportKey=" + exportKey +
			", fleetId=" + fleetId +
			", fleetName=" + fleetName +
			", occurDate=" + occurDate +
			", orderReleaseId=" + orderReleaseId +
			", originAddr=" + originAddr +
			", originCity=" + originCity +
			", originCode=" + originCode +
			", originCounty=" + originCounty +
			", originProvince=" + originProvince +
			", plateNo=" + plateNo +
			", providerGid=" + providerGid +
			", providerName=" + providerName +
			", recdDate=" + recdDate +
			", shipCode=" + shipCode +
			", shipTime=" + shipTime +
			", shipmentId=" + shipmentId +
			", sort=" + sort +
			", trailerNo=" + trailerNo +
			", transTypeId=" + transTypeId +
			", vehicleName=" + vehicleName +
			", vin=" + vin +
			", status=" + status +
			"}";
	}
}
